package com.lsl.singleton_pattern.triple;

/**
 * @author Zed
 * @description
 * @date 2022/11/3 23:31
 */
public class Test {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            Triple triple = Triple.getInstance(i % 3);
            System.out.println(i + ":" + triple);
        }
    }
}
